//
//  NotitleExplorationListTableViewCell.m
//  TestApplication
//
//  Created by Hanlingyu on 16/9/1.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "NotitleExplorationListTableViewCell.h"
#import "Masonry.h"
@implementation NotitleExplorationListTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        [self.backView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.top.mas_equalTo(10);
            make.right.mas_equalTo(-10);
            make.height.mas_equalTo(70);
#warning 高没设定
        }];
        
        [self.listContentImage mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.left.mas_equalTo(10);
            make.bottom.mas_equalTo(-10);
            make.width.mas_equalTo(self.listContentImage.mas_height).multipliedBy(1.0f);
        }];
        
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(10);
            make.left.mas_equalTo(self.listContentImage.mas_right).mas_equalTo(15);
            make.height.mas_equalTo(30);
        }];
        
        [self.contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.bottom.mas_equalTo(-10);
            make.left.mas_equalTo(self.listContentImage.mas_right).mas_equalTo(15);
            make.right.mas_equalTo(-50);
            make.height.mas_equalTo(20);
        }];
        
        [self.typeImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(10);
            make.right.mas_equalTo(-10);
            make.width.mas_equalTo(17);
            make.height.mas_equalTo(15);
        }];
    }
    return self;
}


- (void)layoutSubviews {
    [super layoutSubviews];



    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
